import { NodeType } from '../../reducer/const';

export const ICON = {};
ICON[NodeType.StartNode] = 'M512 821q89 0 169.5 -34.5t139 -93t93 -139t34.5 -169t-34.5 -169.5t-93 -139t-139 -92.5t-169.5 -34.5t-169.5 34.5t-139 92.5t-93 139t-34.5 169.5t34.5 169t93 139t139 93t169.5 34.5zM512 888q-102 0 -195.5 -39.5t-160.5 -107t-107 -160.5t-40 -195.5t40 -195.5 t107 -160.5t160.5 -107.5t195.5 -40t195.5 40t160.5 107.5t107 160.5t40 195.5t-40 195.5t-107 160.5t-160.5 107t-195.5 39.5zM731 418l-268 196q-17 12 -34.5 1t-17.5 -34v-391q0 -23 18 -34q7 -5 16 -5q10 0 18 6l268 195q16 12 16 33.5t-16 32.5z';
ICON[NodeType.StartNode] = 'M512 74.901279c240.287754 0 435.789258 195.501504 435.789258 435.789258S752.287754 946.479795 512 946.479795 76.210742 750.978292 76.210742 510.690537 271.712246 74.901279 512 74.901279zM512 7.856777C234.302199 7.856777 9.16624 232.924645 9.16624 510.690537s225.135959 502.83376 502.83376 502.83376c277.765893 0 502.83376-225.067867 502.83376-502.83376S789.765893 7.856777 512 7.856777';
ICON[NodeType.TaskNode] = 'M832 817h-640q-80 0 -136 -56t-56 -136v-482q0 -80 56 -136t136 -56h640q80 0 136 56t56 136v482q0 80 -56 136t-136 56zM922 143q0 -37 -26.5 -63.5t-63.5 -26.5h-640q-37 0 -63.5 26.5t-26.5 63.5v482q0 37 26.5 63.5t63.5 26.5h640q37 0 63.5 -26.5t26.5 -63.5v-482z';

export const COLOR = {
    fill1: '#F9F9F9',
    fill2: '#1afa29',
    icon1: '#1afa29',
    icon2: '#fff',
    stroke0: '#000',
    stroke1: '#ccc',
    stroke2: '#b3ffc3',
    err1: '#d81e06',
    err2: '#aaa',
    end1: '#f06a18',
    end2: '#aaa'
};

